Adding COSMIC support to SPISEA#154
Open
nsabrams wants to merge 32 commits into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary:
Added support for evolving binaries (no higher order multiples) with COSMIC. The objects are generated normally in SPISEA and then are evolved using COSMIC. The evolved objects are then assigned atmospheres via an interpolated atmosphere grid over a new merged atmosphere class (see below).
Details:
IsochronePhotExternalEvolutionobject (subclass ofIsochronePhot) which creates the atmosphere grid rather than a normal isochrone. A new atmosphere grid is created with new metallicity, AKs, or distance. The grid of magnitudes that correspond with each set of parameters is interpolated with a stellar radius of 1 which is then rescaled for each individual object later inResolvedCluster.get_merged_atmosphere_w_bb_supplement).ResolvedClusterforexternal_evolobjects which are determined by an attribute in the isochrone object. In these cases, the stars generated are passed to COSMIC to be evolved rather than using an interpolated isochrone. Note, when using external evolution, there is no IFMR used. The objects are evolved in COSMIC.docs/Cluster_w_COSMIC.ipynbNote this is already merged with the BD branch (here https://github.com/caitlinbegbie/SPISEA/tree/feature/BDs)